﻿<%@ Page Language="C#" MasterPageFile="~/ProductManager/ProductManage.Master" AutoEventWireup="true" CodeFile="CreateGiftCard.aspx.cs" Inherits="SystemManager_CreateGiftCard" Title="无标题页" %>

<%@ Register assembly="GoShopping.Components" namespace="BaseText" tagprefix="cc1" %>
<%@ Register assembly="ExtensionGridView" namespace="ExtensionControls" tagprefix="cc11" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <div>
        <b>礼品卡创建</b><br />
        <table class="style1">
            <tr>
                <td class="style3" style="width: 69px">
                    礼品卡金额:</td>
                <td>
                    <cc1:ZLTextBox ID="ZLTextBox1" runat="server"></cc1:ZLTextBox>
                    <asp:Button ID="btnAddCard" runat="server" Text="添加" />
                </td>
            </tr>
        </table>
        <div>
        <cc11:ExtensionGridView ID="gvCardList" runat="server" 
                AutoGenerateColumns="False" PagerText="当前第{0}页,共{1}页{2}条记录" 
                RecordCount="-1" AllowPaging="True" 
                AllowSorting="True" AutoSort="True" EmptyDataText="没有商品记录!" 
                onrowcommand="gvCardList_RowCommand" Width="800px" 
                onpageindexchanging="gvCardList_PageIndexChanging" SortAscImageUrl="" 
                SortDescImageUrl="" PageSize="15" CssClass="GridViewStyle">
                <Columns>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:CheckBox ID="cbAll" runat="server" 
                                oncheckedchanged="cbAll_CheckedChanged" AutoPostBack="true" />
                        </HeaderTemplate>
                        <ItemTemplate>
                            <asp:CheckBox ID="cbSingle" runat="server" />
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="卡片编号">
                        <ItemTemplate>
                            <asp:Label ID="lblName" runat="server" Text='<%# Eval("UUID") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="金额">
                        <ItemTemplate>
                            <asp:Label ID="lbtnEmail" runat="server" Text='<%# Eval("CardPrice") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="状态">
                        <ItemTemplate>
                            <asp:Label ID="lbtnEmail0" runat="server" Text='<%# Eval("Enable") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="添加时间">
                        <ItemTemplate>
                            <asp:Label ID="lbtnEmail1" runat="server" Text='<%# Eval("CreateDate") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle HorizontalAlign="Center" />
            </cc11:ExtensionGridView>
            <asp:Button ID="btnDelCard" runat="server" Text="删除" />
        </div>
    </div>

</asp:Content>

